Skip to content

DS Storybook - Add story for Search#5795

Merged
jcfilben merged 4 commits intomasterfrom
sb-search
Feb 12, 2026
Merged

DS Storybook - Add story for Search#5795
jcfilben merged 4 commits intomasterfrom
sb-search

Conversation

@jcfilben
Copy link
Collaborator

@jcfilben jcfilben commented Feb 10, 2026

https://deploy-preview-5795--unrivaled-bublanina-3a9bae.netlify.app/?path=/story/components-textinput--search-example

What does this PR do?

Add search story

What are the relevant issues?

#5710

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

Screenshots (if appropriate)

Should this PR be mentioned in Design System updates?

Is this change backwards compatible or is it a breaking change?

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2026

⚠️ No Changeset found

Latest commit: 5dd4665

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Feb 10, 2026

Deploy Preview for hpe-theme-preview ready!

Name Link
🔨 Latest commit 5dd4665
🔍 Latest deploy log https://app.netlify.com/projects/hpe-theme-preview/deploys/698e4fa174819500084e3aab
😎 Deploy Preview https://deploy-preview-5795--hpe-theme-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 10, 2026

Deploy Preview for unrivaled-bublanina-3a9bae ready!

Name Link
🔨 Latest commit 5dd4665
🔍 Latest deploy log https://app.netlify.com/projects/unrivaled-bublanina-3a9bae/deploys/698e4fa1923576000830aeeb
😎 Deploy Preview https://deploy-preview-5795--unrivaled-bublanina-3a9bae.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jcfilben jcfilben requested a review from britt6612 February 10, 2026 19:15
@netlify
Copy link

netlify bot commented Feb 10, 2026

Deploy Preview for hpe-design-icons-grommet ready!

Name Link
🔨 Latest commit 5dd4665
🔍 Latest deploy log https://app.netlify.com/projects/hpe-design-icons-grommet/deploys/698e4fa1a077b4000813efbb
😎 Deploy Preview https://deploy-preview-5795--hpe-design-icons-grommet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

defaultSuggestion: {
control: { type: 'number' },
},
dropAlign: dropAlignArg,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if we should leave the dropAlign off?

   <TextInput
      aria-label="search"
      icon={<SearchIcon />}
      placeholder="Search"
      reverse
      value={value}
      onChange={event => setValue(event.target.value)}
      type="search"
      {...props}
    />

we usually dont use it in our code examples

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed dropAlign

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

reverse: true,
suggestions: ['Suggestion 1', 'Suggestion 2', 'Suggestion 3'],
textAlign: undefined,
width: undefined,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we do medium as default so its not as long width wide

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried setting width medium, but it puts the icon way outside the input container. Wondering if I should just remove the width prop, not sure we want people in hpe doing that
Screenshot 2026-02-10 at 3 39 34 PM

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed width for now

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh weird yeah I didnt notice that

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im good with leaving it out for now

@britt6612 britt6612 requested a review from halocline February 11, 2026 15:58
suggestions: {
control: { type: 'object' },
},
textAlign: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like it could become a commonArg - willing to approve and revise later if needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, changed this to be a commonArg

Copy link
Collaborator

@seanhillweb seanhillweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a minor note regarding textAlign but otherwise this looks good to me.

@jcfilben jcfilben merged commit d712395 into master Feb 12, 2026
19 of 21 checks passed
@jcfilben jcfilben deleted the sb-search branch February 12, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants